<?php
$menumark = 'moneylog';
switch($act) {
	//####################// 钱包明细 //####################//
	default:
		$info['user_money'] = $user['user_money'];
		$list = $db->pe_selectall('moneylog', array('user_id'=>$user['user_id'], 'order by'=>'moneylog_id desc'), '*', array(30, $_g_page));
		foreach ($list as $k=>$v) {
			$list[$k]['moneylog_atime'] = pe_date($v['moneylog_atime']);
		}
		$tongji['all'] = $db->pe_num('moneylog', array('user_id'=>$user['user_id']));
		pe_fixurl(pe_url("/page/user/moneylog_list", 'app'));
		$seo = pe_seo($menutitle='钱包明细');
		include(pe_tpl('moneylog_list.html'));
	break;
}
?>